﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IsmsExplorer.Infrastructure.DomainBase {
    public abstract class IdNameEntity : EntityBase {
        private string _name;
        public string Name {
            get { return _name; }
            set { _name = value; }
        }

        public IdNameEntity() : this(0, string.Empty) {
        }

        public IdNameEntity(int id, string name) : base(id) {            
            this._name = name;            
        }

    }
}
